package com.job.util;

public class MessageUtil {
    public static String getConversationId(Integer fromId,Integer toId){
        String conversationId = "";
        if (fromId <= toId){
            conversationId = fromId + "_" + toId;
        }else {
            conversationId = toId + "_" + fromId;
        }
        return conversationId;
    }
}
